<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

function add_interest_report($object_id, $user_id) {
    if(!$object_id || !$user_id)
        return FALSE;
    $timestamp = time();
    $query = "INSERT INTO interest_reports (object_id, user_id, timesstamp)
                VALUES ('$object_id', '$user_id', '$timestamp')";
    return safe_insert_query($query);
}

?>
